package cac.fenjian.resource.AoTask.MsTaskPackage.dao;

import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface MsTaskCheckOperDao {
    //查询当前
    HashMap queryTaskIsOper(@Param("ip") String ip);
    //查询当前操作的缓存箱AO
    List<HashMap> searchCurOperHcxAo(@Param("ip") String ip);
    //查询当前操作的托盘AO
    List<HashMap> searchCurOperPagcakgeAo(@Param("ip") String ip);

    //查询缓存箱是否分拣保存或退库
    HashMap queryPreHcxIsBack(@Param("ip")String ip,@Param("indexTm") String indexTm);

    void insertMsConsoleOper(@Param("map") HashMap map);

    void updateMsConsoleOper(@Param("ip") String ip,
                             @Param("operStatus") String operStatus,
                             @Param("palletType") String palletType,
                             @Param("isNeedBack") String isNeedBack);

    HashMap queryScanHcxInfo(@Param("palletCode") String palletCode,@Param("ip") String ip);
    HashMap queryScanPackageInfo(@Param("palletCode") String palletCode,@Param("ip") String ip);
    HashMap queryCurPackageAfterScan(@Param("ip") String ip);

    int packageStay(@Param("IP")String IP);
    int packageStart(@Param("IP")String IP);
    String searchConsole(@Param("IP")String IP);

    HashMap searchLocation(@Param("IP")String IP);
    int delGkLog(@Param("map")HashMap map);
    int deleteBigLog(@Param("map")HashMap map);
    int delGkLogSupple(@Param("map")HashMap map);

}
